Skip to content

Generate shared events metadata#794

Closed
ascjones wants to merge 35 commits intomasterfrom
aj/shared-events-metadata
Closed

Generate shared events metadata#794
ascjones wants to merge 35 commits intomasterfrom
aj/shared-events-metadata

Conversation

@ascjones
Copy link
Copy Markdown
Collaborator

WIP

Companion to use-ink/ink#1243.

Ensures that any #[ink::event_definition] which is linked as part of a library or declared inline will be included in the metadata.

  • Extracts the unique fn names from the unoptimized Wasm custom sections.
  • Generates a metadata-gen/main.rs file which calls each individual exported fn, and then adds the event to the global metadata.

ascjones and others added 24 commits October 25, 2022 15:53
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.147...v1.0.148)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.27 to 4.0.29.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.0.27...v4.0.29)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@ascjones
Copy link
Copy Markdown
Collaborator Author

I am taking a different approach to this, which will no longer require changes on the cargo-contract side. New PR to replace use-ink/ink#1243 coming soon TM

@ascjones ascjones closed this Jun 13, 2023
@ascjones ascjones deleted the aj/shared-events-metadata branch June 13, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant